﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SharingCenter.Web.Admin.Posts
{
    public partial class CatDefault : AdminPageBase
    {
        protected void Page_Init(object sender, EventArgs e)
        {
            LinqDataSource1.Updated += new EventHandler<LinqDataSourceStatusEventArgs>(LinqDataSource1_Updated);
        }

        void LinqDataSource1_Updated(object sender, LinqDataSourceStatusEventArgs e)
        {
            SetTopMostMessage("更新成功。", true);
            Response.Redirect("Category.aspx", true);
        }
    }
}
